package com.gopay.common.cps.dao.cbrmb;

import java.util.Date;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cbrmb.CbRmbAllocationOrderLogs;
import com.gopay.common.exception.GopayException;

public interface CbRmbAllocationOrderLogsDAO extends BaseDAO<CbRmbAllocationOrderLogs, Long>{
    List<CbRmbAllocationOrderLogs> findByGopayOrderIdAndCreateTime(String gopayOrderId, Date startTime, Date endTime) throws GopayException;
    
    List<CbRmbAllocationOrderLogs> findByGopayOrderIdAndOptTypeWithCreateTime(String gopayOrderId, String optType, Date startTime, Date endTime) throws GopayException;
}
